//获取token
export const GET_TOKEN = () =>  localStorage.getItem('token');
//存储
export const SET_TOKEN = (name:string,token: string) =>  localStorage.setItem(`${name}`, token);
//获取用户姓名
export const GET_USER_NAME = () =>  localStorage.getItem('UserName');
//清除本地存储
export const CLEAR_TOKEN = (name:string) =>  localStorage.removeItem(`${name}`);